import React from 'react'
import { Link} from 'react-router-dom'
export default class Home extends React.Component{
  render(){
    return (
      <div>
        this is main
        <Link to='/home/test-id'>嵌套路由1</Link>
        <Link to='/home/456'>嵌套路由2</Link>
        <hr/>
        {this.props.children}
      </div>
    );
  }
}